package com.huqing.icu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huqing.icu.model.UserPostBehavior;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPostBehaviorMapper extends BaseMapper<UserPostBehavior> {

    UserPostBehavior selectOne(@Param("userId") Long userId, @Param("postId") Long postId, @Param("behavior") Integer behavior);

    List<UserPostBehavior> selectList(@Param("userId") Long userId, @Param("postIdList") List<Long> postIdList, @Param("behaviorList") List<Integer> behaviorList);
}
